doctype html
html
  head
    title= '图片评论'
    link(rel='stylesheet', href='/stylesheets/style.css')
    link(rel='stylesheet', href='//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css')
    link(rel='stylesheet', href='//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css')
  body
    .page-header
        .container
            .col-md-6
                h1
                    a(href='/') 图片共享
            if loginAbout.isLogin
                .col-md-6.text-right(style='margin-top: 48px;') 当前帐号：
                    span= `${loginAbout.isLogin?loginAbout.username:''}`
                    | &nbsp;(
                    a(href='/users/logout') 退出
                    | )
            else
                .col-md-6.text-right(style='margin-top: 48px;') 游客
                    | &nbsp;(
                    a(href='/') 登录
                    | )
    .container
        .row
            .col-sm-8
                block content
            .col-sm-4
                include includes/stats.pug
                include includes/popular.pug
                include includes/comments.pug
    .footer
        .container
            .row
                .col-sm-12.text-center
                     p.text-muted 图片共享 | &copy; 版权所有 罗君威 2017
    script(src='//cdn.bootcss.com/jquery/3.2.1/jquery.min.js')
    script(src='//cdn.bootcss.com/moment.js/2.19.0/moment-with-locales.min.js')
    script(src='//cdn.bootcss.com/moment.js/2.19.0/locale/zh-cn.js')
    script(src='//cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js')
    script(src='/javascripts/main.js')
